package com.yowasa.xiuxian.engine.battle.buff;

import com.yowasa.xiuxian.annoations.Buff;
import com.yowasa.xiuxian.entity.bo.battle.BuffContent;
import com.yowasa.xiuxian.entity.bo.battle.TempUserBattle;

import java.util.Map;

@Buff(name="狼灵庇佑")
public class LangLingBiYouBuff implements BuffInterface {
    @Override
    public void effectBattleInfo(BuffContent content, TempUserBattle userBattle) {

        userBattle.setRes((int) (userBattle.getRes() * 1.05));
        userBattle.setDef((int) (userBattle.getDef() * 1.05));

    }
}
